package com.sc.dal.mapper.member;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.sc.dal.model.member.Region;

public interface RegionMapper {
    int deleteByPrimaryKey(Integer regionId);

    int insert(Region record);

    int insertSelective(Region record);

    Region selectByPrimaryKey(Integer regionId);

    int updateByPrimaryKeySelective(Region record);

    int updateByPrimaryKey(Region record);

	List<Region> selectRegionByFatherId(String parentId);

	Region selectByName(@Param("regionName")String regionName,@Param("parentId") String parentId);

	List<Region> selectAllRegion();
}